﻿using SqlSugar;
using static DataModels.Enums.GeneralEnum;

namespace DataModels.Entities.ServiceDay
{
    [SugarTable]
    public class ServiceDayProduct
    {
        [SugarColumn(IsPrimaryKey = true)]
        public Guid UUID { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        public string Image { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 起售价格
        /// </summary>
        public decimal? Price { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 介绍
        /// </summary>
        public string ? Description { get; set; }

        /// <summary>
        /// 上架状态
        /// </summary>
        public Status Status { get; set; } = Status.Enable;

        public DateTime CreateTime { get; set; } = DateTime.Now;
        public DateTime UpdateTime { get; set; }

        public Guid CreateUserUUID { get; set; }

        public Guid UpdateUserUUID { get; set; }

        /// <summary>
        /// 删除标记
        /// </summary>
        public Status IsDeleted { get; set; } = Status.Disable;
    }
}
